package com.springboot42.dao;

import com.springboot42.pojo.Book;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface BookMapper {
        //获取图书表信息
        public List<Book> getAllBook();
        //增加图书
        public int addBook(Book book);
        //删除图书
        public int deleteBookById(Integer id);
        //修改图书信息
        public int updateBook(Book book);

}
